Forum
24
bd

















1. First of all registration here 2. Then Click on Be a trainer or writer button 3. Collect your trainer or writer id card from trainer master 4. And create post here for earn money! 5. For trainer 100 tk minimum withdraw 6. For writer 500 tk minimum withdraw 7. Payment method Bkash Only
obaydulbc obaydulbc
Trainer

2 years ago
obaydulbc

How we can start php program writting part 1




To start with PHP programming, you will need to follow these basic steps:

Install PHP: First, you need to download and install PHP on your computer. You can download PHP from the official PHP website (https://www.php.net/downloads.php). Follow the installation instructions for your operating system.

Choose a text editor: You will need a text editor to write your PHP code. There are many text editors available, including Notepad++, Sublime Text, Atom, and Visual Studio Code.

Create a new PHP file: Open your text editor and create a new file with a .php extension. For example, you could name it "index.php".

Write some PHP code: Start by writing some basic PHP code, such as a "Hello World" script. For example:


<!DOCTYPE html>
<html>
<head>
<title>My PHP Page</title>
</head>
<body>

<?php
echo "Hello World!";
?>


</body>
</html>


Save your file: Save your PHP file in a directory where your web server can access it. For example, if you are using Apache on a local machine, you might save your file in the "htdocs" directory.

Run your PHP code: Open your web browser and navigate to your PHP file. For example, if your file is located at "http://localhost/index.php", enter that URL in your browser's address bar. Your PHP code should run and display "Hello World!" in your browser.

That's it! You've written and executed your first PHP program. From here, you can continue to learn more about PHP and build more complex applications.


×

Alert message goes here

Plp file


Category
Utube fair

pixelLab দিয়ে নিজের নাম ডিজাইন ও Mocup

Paid hack

App link topup